const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const entrySchema = new Schema({
    stu_id: {
        type: String,
        unique: true,
        required: true
    },
    stu_name: {
        type: String,
        unique: false,
        required: true
    },
    Chinese: {
        type: String,
        unique: false,
        required: true,
    },
    math: {
        type: String,
        unique: false,
        required: true,
    },
    English: {
        type: String,
        unique: false,
        required: true,
    },
    lizong: {
        type: String,
        unique: false,
        required: true,
    },
    wenzong: {
        type: String,
        unique: false,
        required: true,
    },
    // stu_head_img: {
    //     type: String
    // }
})
const Entry = mongoose.model('entrys', entrySchema);
module.exports = Entry;